﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ImapX.Parsing.Tokens;

namespace ImapX.Parsing.DataItems
{
    public class InternalDate : DataItem
    {
        private NString _date = new NString();

        public InternalDate(bool canBeNIL = false)
            : base(canBeNIL)
        {
            SetParts(_date);
        }

        public string Value { get { return _date.Value; } }

        public override string Command
        {
            get { return "INTERNALDATE"; }
        }
    }
}
